build a quiz app with javascript